package com.zmj.sy.mom.srv.aps.bean.vo.plan;


import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDate;

@Getter
@Setter
public class PlanProDetailDayResVo {

    @JsonIgnore
    private Integer orderId;

    @JsonIgnore
    private Integer bomId;

    @JsonIgnore
    @ApiModelProperty("施工号")
    private String constructNo;

    @JsonIgnore
    @ApiModelProperty("部件名称")
    private String materName;

    @JsonIgnore
    @ApiModelProperty("PLM的ID")
    private String plmId;

    @JsonIgnore
    @ApiModelProperty("工序名称")
    private String process;

    @ApiModelProperty("计划数量")
    private BigDecimal planCount;

    @ApiModelProperty("完工数量")
    private BigDecimal finishCount;

    @ApiModelProperty("总计划数量")
    private BigDecimal totalPlanCount;

    @ApiModelProperty("总完工数量")
    private BigDecimal totalFinishCount;

    @JsonIgnore
    @ApiModelProperty("日期")
    private String dateStr;

    @JsonIgnore
    @ApiModelProperty("完成日期")
    private String finishDateStr;

    @ApiModelProperty("日期")
    private LocalDate date;

    @ApiModelProperty("完成日期")
    private LocalDate finishDate;

    @ApiModelProperty("星期")
    private String weekday;

    @JsonIgnore
    @ApiModelProperty("父级数量")
    private BigDecimal partCount;

    @JsonIgnore
    @ApiModelProperty("父级数量")
    private BigDecimal parentPartCount;

    @JsonIgnore
    @ApiModelProperty("工序编号")
    private String phaseCode;

    @ApiModelProperty("达成率")
    private BigDecimal planRate;

}
